import { defineStore } from 'pinia'

export const useGlobalStore = defineStore({
  id: 'global',
  state() {
    return {
      loading: false,
    }
  },
  actions: {
    setLoading(bol: boolean) {
      this.loading = bol
    },
  },
})
